home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
C and C++
/
Libraries
/
CDragAcrossTable 1.0b1
/
CDragAcrossTask.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-11-04
|
945b
|
42 lines
#pragma once
#include "CGlobalMouseTask.h"
class CDragAcrossTable;
class CDragAcrossTask : public CGlobalMouseTask
{
public:
CDragAcrossTable* itsFromTable;
CDragAcrossTable* itsToTable;
Point itsToBoundaries;
RgnHandle itsSelectionRgn;
Boolean isSelectionRgnVisible;
public:
void IDragAcrossTask
( CDragAcrossTable* aTable
, RgnHandle aSelectionRgn
, short aNameIndex );
virtual void Dispose( void );
virtual void BeginTracking( Point startPt );
virtual void KeepTracking( Point currPt, Point prevPt, Point startPt );
virtual void EndTracking( Point currPt, Point prevPt, Point startPt );
virtual CDragAcrossTable* FindHitTable( Point mousePt );
virtual void FindHitBoundaries
( CDragAcrossTable* aTable
, Point hitPt
, Point* hitBoundaries );
protected:
virtual void DrawSelectionRgn( Boolean showRgn );
virtual Boolean AutoScroll( CDragAcrossTable* aTable, Point hitPt );
};